aggregation should sort groups by distinct count